<template>
    <div class="material" v-html="materialSrc"></div>
</template>
<script type="text/ecmascript-6">
    export default {
        name: "material",
        props: ['materialSrc'],
        data () {
            return {}
        },
        mounted(){
//            alert(1)
        }
    }
</script>
<style lang="scss" rel="stylesheet/scss">
.material{
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
    left: 0;
    top: 0;
    background: #ccc;
    *{
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 60% !important;
        height: auto !important;
    }
}
</style>